package com.huikeportal.dao;

import java.util.List;

import com.huikeportal.model.PosAllInfo;
import com.huikeportal.model.PosDataManagerInfo;
import com.huikeportal.model.SiteAllInfo;
import com.huikeportal.model.UserInfo;
import com.huikeportal.model.WordBook;
import com.huikeportal.model.common.PageDataVo;

public interface PosDataManagerMapper {

	List<PosDataManagerInfo> queryPosSiteList(PageDataVo pageDataVo) throws Exception;
	
	List<PosDataManagerInfo> getPosDetailList(PageDataVo pageDataVo) throws Exception;

	int queryPosSiteTotal(PageDataVo pageDataVo) throws Exception;
	
	int getPosDetailTotal(PageDataVo pageDataVo) throws Exception;
	
	int updateBySiteKey(PosAllInfo posAllInfo);
	
	int updateById(PosAllInfo posAllInfo);
	
	List<SiteAllInfo> getSitesByUser(UserInfo userInfo) throws Exception;
	
	List<SiteAllInfo> getAllJtSites(SiteAllInfo siteAllInfo) throws Exception;
	
	List<SiteAllInfo> getAllGcSitesByJt(SiteAllInfo siteAllInfo) throws Exception;
	
	List<SiteAllInfo> getAllGcSitesByDy(SiteAllInfo siteAllInfo) throws Exception;
	
	List<SiteAllInfo> getAllSitesByGc(SiteAllInfo siteAllInfo) throws Exception;
	
	List<WordBook> getSiteTypes(String para) throws Exception;
	
	List<PosDataManagerInfo> getAllPosData() throws Exception;
	
	int deleteInLogic(PosAllInfo posAllInfo);
	
	int deleteDetailInLogic(PosAllInfo posAllInfo);
	
	String getPosDataIdByParams(PosAllInfo posAllInfo);
	
	PosAllInfo getDataBySiteKAndTransT(PosDataManagerInfo info);
}